package com.gjun.struts.resource;

import java.util.List;

import com.gjun.struts.bean.GjunRoleJsonBean;
import com.gjun.struts.bean.GjunsystemRole;

public interface GjunRoleResourceIf {
    public void saveRole(GjunsystemRole role,String privileges[]);
    
    public List<GjunRoleJsonBean> loadAllRoles() throws Exception;
    
    public boolean loadRoleByName(String rolename);
    
    public void delRoleById(int roleId);
}
